package reading.common.exception;


import reading.common.enums.ErrorEnum;

/**
 * Created by hldev on 16-10-12.
 *
 * @author
 */
public class HlValidateException extends AbstractHlBaseException {


    public HlValidateException(String msg) {
        super(ErrorEnum.PARAMS_FORMAT_ERROR.getValue(), msg, msg);
    }

    public HlValidateException(int errCode, String errMsg) {
        super(errCode, errMsg);
    }

    public HlValidateException(int errCode, Object obj) {
        super(errCode, null, obj);
    }

}
